package edu.java.homework.hw08.ipj10.exer01done;

public class Test {

    /**
     * @param args
     */
    public static void main(String[] args) {
	// Worker class test
	int[] pin1 = { 8, 4, 0, 7, 1, 2, 7, 6, 2, 8 };
	int[] pin2 = { 7, 9, 0, 2, 2, 3, 5, 4, 3, 9 };
	int[] pin3 = { 6, 5, 0, 7, 1, 4, 8, 5, 2, 4 };
	Worker worker0 = new Worker();
	// System.out.println(worker0);
	Worker worker1 = new Worker("Pencho Kolev", pin1, Appointment.EMPLOYEE,
		780);
	Worker worker2 = new Worker("Galina Evtimova", pin2,
		Appointment.SECRETARY, 600);
	Worker worker3 = new Worker("Boncho Shanov", pin3,
		Appointment.DIRECTOR, 1000);
	// System.out.println(worker1);
	// System.out.println(worker2);
	// System.out.println(worker3);

	// Music Album test
	MusicAlbum album1 = new MusicAlbum("GGBG", 1978, 110);
	MusicAlbum album2 = new MusicAlbum("AlaBama", 1999, 209);
	MusicAlbum[] albumAssortment = new MusicAlbum[] { album1, album2 };
	// System.out.println(album1);
	// System.out.println(album2);

	// Firm class test
	Worker[] workStuff = { worker1, worker2, worker3 };
	Firm anyFirm = new Firm("GreenLemons", 9809, workStuff);
	// System.out.println(anyFirm);

	MusicShop ms = new MusicShop("FolkPriceShock", 1087237, workStuff,
		albumAssortment);
	System.out.println(ms);

    }
}
